#coding: utf-8
import os
os.environ['DJANGO_SETTINGS_MODULE']='settings'

from django.test.client import Client

def testlogin ():
    """
    >>> c=Client()
    >>> response = c.post('/checklogin/',{'name':'admin','password':'admin'})
    >>> response.status_code
    302
    """
    pass



def _test ():
    import doctest
    doctest.testmod()

if __name__=='__main__':
    _test()

